home *** CD-ROM | disk | FTP | other *** search
/ Freaks Macintosh Archive / Freaks Macintosh Archive.bin / Freaks Macintosh Archives / Mp3 / MPEGAudioPlayerSource.cpt / map / all.h < prev    next >
Text File  |  1994-11-10  |  2KB  |  52 lines

  1. /*
  2.  *  @(#) all.h 1.6, last edit: 6/17/94 15:40:44
  3.  *  @(#) Copyright (C) 1993, 1994 Tobias Bading (bading@cs.tu-berlin.de)
  4.  *  @(#) Berlin University of Technology
  5.  *
  6.  *  This program is free software; you can redistribute it and/or modify
  7.  *  it under the terms of the GNU General Public License as published by
  8.  *  the Free Software Foundation; either version 2 of the License, or
  9.  *  (at your option) any later version.
  10.  *
  11.  *  This program is distributed in the hope that it will be useful,
  12.  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  *  GNU General Public License for more details.
  15.  *
  16.  *  You should have received a copy of the GNU General Public License
  17.  *  along with this program; if not, write to the Free Software
  18.  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  19.  */
  20.  
  21. #ifndef ALL_H
  22. #define ALL_H
  23.  
  24. #define True 1
  25. #define False 0
  26.  
  27. int main2(int argc, char *argv[], short refNums[]);
  28. void play_file(short refNums[]);
  29. short post_process(void);
  30.  
  31. typedef float        real;        // float should be enough
  32. typedef short        bool;
  33. typedef unsigned    uint32;        // 32 Bit unsigned integer
  34.     // some compilers may need "typedef unsigned long uint32" instead
  35. typedef int        int32;        // 32 Bit signed integer
  36.     // some compilers may need "typedef long int32" instead
  37. typedef unsigned short    uint16;        // 16 Bit unsigned integer
  38. typedef short        int16;        // 16 Bit signed integer
  39.  
  40. typedef unsigned char    ulawsample;    // u-law byte
  41.  
  42. #ifndef True
  43. #define True    1
  44. #define False    0
  45. #endif
  46.  
  47. #ifdef SunOS4_1_1
  48. #define ULAW 1
  49. #endif
  50.  
  51. #endif
  52.